package com.pojo.mapper;
import com.pojo.Entity.EquipmentRental;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EquipmentRentalMapper {
    public Integer insert(EquipmentRental equipmentRental);
    public EquipmentRental   findByerID(Integer erID);
    public Integer update(EquipmentRental equipmentRental);
    public List<EquipmentRental> findByPn(Integer page,Integer number,Integer erTYpe,Integer erReturn,Integer rID);
    public Integer getsum(Integer erTYpe,Integer erReturn,Integer rID);
}
